package mars;

public class ParseException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String parseString = "";
	
	public ParseException(String parseString) {
		this.parseString = parseString;
	}
	public String getMessage() {
		if(parseString == null || parseString.equals("")) {
			return "Can't parse correctly. Please follow the examples";
		}
		return parseString;
	}

}
